type Res<T> = {
    code: number
    message: string
    data: T
}


type CheckData = {
    id: string
    name: string
}

type VisitorData = {
    encryptedData?: null | string;
    houseInfo: string;
    id: string;
    url: string;
    validTime: number;
}
const visitor: Res<VisitorData> = {
    code: 1001,
    message: '获取成功',
    data: {
        "id": "string",
        "houseInfo": "string",
        "url": "string",
        "validTime": 0,
        "encryptedData": "string"
    }
}
const checkList: Res<CheckData[]> = {
    code: 1001,
    message: '获取成功',
    data: [
        {
            "id": "r33",
            "name": "2单元2041"
        },
        {
            "id": "sdf",
            "name": "1单元1022"
        }
    ]
}
export { checkList, visitor }